import './App.css';
import { GlobalStyle  } from './style'
import { renderRoutes } from 'react-router-config'
import routes from './routes/index.js'
import { HashRouter } from 'react-router-dom'
import store from './store'
import { Provider } from 'react-redux';
function App() {
  return (
    <Provider store={store}>
    <HashRouter>
      <GlobalStyle></GlobalStyle>
      { renderRoutes(routes) }
    </HashRouter>
    </Provider>
  );
}

export default App;
